libxl: Do not trust backend in channel list
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 4 May 2016 15:59:38 +0000 (16:59 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 2 Jun 2016 14:53:29 +0000 (15:53 +0100)
commit4f79473898bad5b311646b3a64e9892cd2993099
tree8e9079798e59f3a9931ac17b3bac91847992a9ab
parentf7653d0d151732dd6dd8fcf84d94179fa8b6d4a5
libxl: Do not trust backend in channel list

Read the name from /libxl/device.  Pass the /libxl path to
libxl__device_channel_from_xenstore.

This removes the final route by which READ_LIBXLDEV might receive a
backend path.

This is part of XSA-178.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
---
v2: Remove be_path variable which is now no longer used.
tools/libxl/libxl.c